package cn.hncj.lyc.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.hncj.lyc.bean.OrderManagement;
import cn.hncj.lyc.dao.OrderStateMapper;
import cn.hncj.lyc.service.OrderStateService;
@Service
public class OrderStateServiceImpl implements OrderStateService {
    @Autowired  
	OrderStateMapper orderStateMapper;
	@Override
	public void updateOrderState(OrderManagement ordermanagement) {
		// TODO Auto-generated method stub
		ordermanagement.setOrderState("已付款");
		orderStateMapper.updateOrderState(ordermanagement);

	}

}
